package com.yh.ssm.common;

import lombok.Data;

/**
 * @ClassName: CodeMsg.java
 * @author: yuhui
 * @version: 1.0.0
 * @Description: TODO
 * @createTime: 2021年04月29日 09:44:00
 */
public enum CodeMsg {
    SUCCESS(200,"成功"),
    TOPIC_IS_NOTHAVE(4001001,"帖子已被删除");

    public Integer code;
    public String msg;

    CodeMsg(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
